package com.ckh.springboot.service;

import com.ckh.springboot.entity.HomeWorkStudent;

import java.util.List;

public interface IHomeWorkStudentService {
    List<HomeWorkStudent>getHomeWorkStudentList(Integer id);
    List<HomeWorkStudent> getHomeWorkStudentListByStudentId(String studentId);
    
    int deleteHomeWorkStudentList(Integer id ,Integer studentId);

    int updateHomeWorkStudentList(Integer id , String score , Integer studentId);


    List<HomeWorkStudent>  getStudentHomeWorkDetail(Integer id, Integer homeId);

    int addScore(Integer id, Integer homeId, String score);

    List<HomeWorkStudent> getDoneHomeWorkStudent(Integer homeId);

    int uploadHomeWork(Integer id, String text, String image, String name , Integer studentId);
}
